public class User {
    private String userName;
        public int userId;
        private String password;
        public void setUerName(String name) {
            this.userName = name;
        }
        public String getUserName() {
            return userName;
        }
        public int setUserId(int userId) {
            this.userId = userId;
            return userId;
        }
        public int getUserId() {
            return userId;
        }
        public void setPassword(String pwd) {
            this.password = pwd;
        }
        public String getPassword() {
            return password;
        }
    }
